<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>全部案例</title>
<link rel="stylesheet" type="text/css" href="css/lib/swiper.min.css"/>
<link rel="stylesheet" type="text/css" href="css/lib/doumee.css"/>
<link rel="stylesheet" type="text/css" href="css/public.css"/>
<link rel="stylesheet" type="text/css" href="css/lib/dialog.css"/>
<link rel="stylesheet" type="text/css" href="css/caseMod.css"/>
<script src="js/lib/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lib/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lib/vue-2.5.17.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lib/doumee.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lib/dialog.js" type="text/javascript" charset="utf-8"></script>
<script src="js/data.js" type="text/javascript" charset="utf-8"></script>
<script src="js/caseMod.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>

<div id="doumee">

	<div id="slideBar">
		<a class="contact flex-col" href="tel:110">
			<span class="icon"><img src="image/icon/slide-icon.png" /></span>
		</a>
	</div>
	
	<header class="header bottom-line main-line flex-row h5" id="screenMod">
		<div class="nav-box flex-full">
			<a :class="type == 0 ? 'on' : ''" @click="caseTab(0)">厨柜</a>
			<a :class="type == 1 ? 'on' : ''" @click="caseTab(1)">全屋</a>
		</div>
		<dl class="sel left-line flex-row" @click="check">
			<dt class="dm-wrap">筛选</dt>
			<dd class="animate"></dd>
		</dl>
	</header>
	
	<div class="swiper-container Main" id="Main">
		<div class="swiper-wrapper">
			<div class="swiper-slide content">
				
				<div class="children">
					
					<ul class="case-box dm-mb" v-for="(item,index) in caseData" @click="skipDtl(item.id)">
						<li class="cover photo" data-rate='4/3'>
							<img :src="item.cover" />
						</li>
						<li class="flex-row info">
							<h5 class="name dm-wrap flex-full">{{item.name}}</h5>
							<span class="help">{{item.help}}</span>
						</li>
					</ul>
					
				</div>
				
			</div>
		</div>
	</div>
	
	<!--筛选项-->
	<div class="subMain animate" id="screenMask">
		<footer class="footer top-line tc h4 main-line flex-row" id="allCaseBtn">
			<a class="reset flex-full" @click="resetOpt">重置</a>
			<a class="enter flex-full" @click="enterOpt">确定</a>
		</footer>
		<div class="swiper-container Main" id="caseAllSel">
			<div class="swiper-wrapper">
				<div class="swiper-slide content">
					
					<div class="children">
						<template v-for="(item,index) in arr">
							<h5 class="dm-title bottom-line">{{item.name}}</h5>
							<div class="list h5">
								<span :class="sel[index] == val ? 'on bottom-line' : 'bottom-line' " @click="checkOpt(index,val)" v-for="(sub,val) in item.list">{{sub}}</span>
							</div>
						</template>
					</div>
					
				</div>
			</div>
		</div>
		
	</div>

</div>

</body>
</html>
